//
//  BBScrollViewModel.m
//  BBKit
//
//  Created by apple on 2019/7/1.
//  Copyright © 2019年 baobao. All rights reserved.
//

#import "BBScrollViewModel.h"

#define BBKIT_SETPRAGRA_UISCROLL_API(methodName, paraType)    BBKIT_SETPRAGRA_API(methodName,paraType, UIScrollView, BBScrollViewModel*)

@implementation BBScrollViewModel


BBKIT_SETPRAGRA_UISCROLL_API(delegate, id<UIScrollViewDelegate>)

BBKIT_SETPRAGRA_UISCROLL_API(contentSize, CGSize)
BBKIT_SETPRAGRA_UISCROLL_API(contentOffset, CGPoint)
BBKIT_SETPRAGRA_UISCROLL_API(contentInset, UIEdgeInsets)

BBKIT_SETPRAGRA_UISCROLL_API(bounces, BOOL)
BBKIT_SETPRAGRA_UISCROLL_API(alwaysBounceVertical, BOOL)
BBKIT_SETPRAGRA_UISCROLL_API(alwaysBounceHorizontal, BOOL)

BBKIT_SETPRAGRA_UISCROLL_API(pagingEnabled, BOOL)
BBKIT_SETPRAGRA_UISCROLL_API(scrollEnabled, BOOL)

BBKIT_SETPRAGRA_UISCROLL_API(showsHorizontalScrollIndicator, BOOL)
BBKIT_SETPRAGRA_UISCROLL_API(showsVerticalScrollIndicator, BOOL)

BBKIT_SETPRAGRA_UISCROLL_API(scrollsToTop, BOOL)

@end
